package com.cw.mapper;

import com.cw.pojo.TbOperator;
import com.cw.pojo.TbOperatorExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbOperatorMapper {
    int countByExample(TbOperatorExample example);

    int deleteByExample(TbOperatorExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TbOperator record);

    int insertSelective(TbOperator record);

    List<TbOperator> selectByExample(TbOperatorExample example);

    TbOperator selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TbOperator record, @Param("example") TbOperatorExample example);

    int updateByExample(@Param("record") TbOperator record, @Param("example") TbOperatorExample example);

    int updateByPrimaryKeySelective(TbOperator record);

    int updateByPrimaryKey(TbOperator record);

    TbOperator selectByOname(String username);
}